Skip to content

Hercules v1.2#143

Merged
genevievestarke merged 20 commits intomainfrom
develop
Mar 28, 2025
Merged

Hercules v1.2#143
genevievestarke merged 20 commits intomainfrom
develop

Conversation

@genevievestarke
Copy link
Copy Markdown
Collaborator

@genevievestarke genevievestarke commented Mar 28, 2025

V1.2 brings improvements to battery and energy storage modeling, dynamic PV system sizing, bug fixes, and package updates, such as example and documentation updates.

New Features

Bug Fixes

Package Improvements

New Contributors

genevievestarke and others added 20 commits November 7, 2024 13:09
* Example code.

* Handling for heterogeneous inflows.

* Minor documentation updates.

* Add tests for heterogeneous inflow feature.

* Add exclusion for input data file to gitignore and add file to repo.

* Another needed input excluded in gitignore...

* Updating with better tracking of individual power value and adding a total plant power value

* Minor formatting updates.

* Update `farm_power` to `wind_farm_power` to be explicit.

---------

Co-authored-by: misi9170 <michael.sinner@nrel.gov>
Co-authored-by: genevievestarke <Genevieve.starke@nrel.gov>
Pin Ubuntu version to 20.04 to enable tests to pass. More recent versions of Ubuntu are causing a segmentation fault at the moment.
* Regression test for FlorisStandin.

* floris already installed

* Add reg test for solarPySAM

* Ruff."

* Reg tests for SimpleBattery and LIB.

* Simplify inputs.

* Structure of reg test for electrolyzer added, but good input sequence still needed.

* Checkout develop branch of electrolyzer for testing.

* Electrolyzer reg tests with nonzero output.
…#121)

* removing .vscode folder from git cache

* casting amr_wind_standin helics message to native python float

* removing extra typecast

* Restoring .vscode folder

---------

Co-authored-by: Zachary <ztully@nrel.gov>
Co-authored-by: Starke <genevieve.starke@nrel.gov>
* Update SEAS reference

* Update to local running instructions

* Simplify running commands

---------

Co-authored-by: Starke <genevieve.starke@nrel.gov>
Co-authored-by: Zachary <ztully@nrel.gov>
Co-authored-by: misi9170 <michael.sinner@nrel.gov>
Co-authored-by: brookeslawski <brooke.stanislawski@gmail.com>
* preparing inputs for running hercules using ARM solar data

* running OK ARM solar data

* running hercules using solar data from ARM in OK

* improving how solar pysim grabs data from solar weather file based on simulation time

* adding input solar data

* adding verbose flag to turn on and off debugging print statements

* trying to run with new json file to prep for varying system size

* adding more weather input files

* adding files for testing and to find my mamba env

* updating installation instructions

* updating HPC installation instructions

* updating desired value in test to match PySAM v6 output

* Update toml file with new pysam version

---------

Co-authored-by: Genevieve Starke <genevieve.starke@nrel.gov>
* Update numpy requirement to 2.0

* Move up FLORIS requirement for clarity.
* improving how solar pysim grabs data from solar weather file based on simulation time

* adding input solar data

* adding verbose flag to turn on and off debugging print statements

* trying to run with new json file to prep for varying system size

* adding more weather input files

* Update PySAM branch (build from git), add dictionary inputs for target
system size, function call in SolarPySAM class

* Add sizing functions locally for now

* Move pysam function to tools for now, update function callouts in
solar_pysam

* Change target variable assignments

* Update import location

* Update location again

* Update function call

* Simplify import of function

* adding files for testing and to find my mamba env

* updating installation instructions

* updating HPC installation instructions

* updating desired value in test to match PySAM v6 output

* fixing more values to match PySAM v6 outputs

* Replace match case loop with if loop for Python 3.9 support

* Revert "Replace match case loop with if loop for Python 3.9 support"

This reverts commit 5b20480.

* Clean up comments a bit

* Update readme

---------

Co-authored-by: brookeslawski <brooke.stanislawski@gmail.com>
Co-authored-by: Genevieve Starke <genevieve.starke@nrel.gov>
* charging efficiency loss added to simple battery

* Fixing battery_test

* self-discharge, chargingin efficiency curve, degradation effect

* merged with upstream/develop

* Adding rainflow package to pyproject.toml

* Adding usage calculators and Example 13

* Renaming Example 13 to Example 14 to align with other pull requests

* Fix attribution error

* Minor updates to usage calculation interval

* Updating battery tests with new capability

* Controller comparison example

* Remove files not related to this PR.

* Revert 05 example input and add compatible release specifier to rainflow requirement.

* Initial example cleanup

* Move usage_calc test to regression tests.

* Clean up example plotting.

* Update rainflow cycle counting information

---------

Co-authored-by: Paul <paul.fleming@nrel.gov>
Co-authored-by: Starke <genevieve.starke@nrel.gov>
Co-authored-by: Zachary <ztully@nrel.gov>
Co-authored-by: misi9170 <michael.sinner@nrel.gov>
@genevievestarke genevievestarke merged commit 3d7ccac into main Mar 28, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants